package com.tjetc.service;

import com.tjetc.common.JsonResult;
import com.tjetc.entity.User;

public interface UserService {


     JsonResult register(String username,String password,String phone);
     JsonResult login(String username, String password);
     JsonResult updateUserInfo(User user);

    JsonResult getUserById(Long userId);

    JsonResult gainExperience(long increaseEXP,String username);


}
